package com.pqtest.api.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
import jdk.nashorn.internal.ir.annotations.Ignore;
import lombok.Getter;
import lombok.Setter;

import java.util.Date;
@Getter
@Setter
public class CollectionEntity {
    @JsonProperty("id")
    private Integer id;
    //@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonIgnore
    private Date created_time;
    //@Ignore
    //@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonIgnore
    private Date updated_time;
    @JsonProperty("item_id")
    private  Integer itemId;
    @JsonProperty("item")
    private PqCsTestItemEntity item;
    @JsonIgnore
    @JsonProperty("user_id")
    private Integer userId;
    //@JsonIgnore
    private Integer type;
    @JsonProperty("answer_ids")
    private String answerIds;
}
